package jman.competition11;

public class Student {
	private int id;
	private String studentName;
	private String sex;
	private int age;
	private double weight;
	public Student(int id,String studentName,String sex,int age,double weight){
		this.id=id;
		this.studentName=studentName;
		this.sex=sex;
		this.age=age;
		this.weight=weight;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public double getWeight() {
		return weight;
	}
	public void setWeight(double weight) {
		this.weight = weight;
	}
	public boolean equals(Student s){
		return this.id==s.getId();
	}
}
